package com.chaihu.api.service;

import com.chaihu.utils.exception.BusinessException;
import org.springframework.http.ResponseEntity;

import java.util.Map;

/**
 * 中心服务 SMO 业务逻辑接口
 * @author chaihu
 * @date 2021/10/13
 */
public interface ApiService {
    /**
     * 业务统一处理服务方法
     * @param reqJson 请求报文json
     * @return
     */
    public ResponseEntity<String> service(String reqJson, Map<String, String> headers) throws BusinessException;
}
